home *** CD-ROM | disk | FTP | other *** search
/ Language/OS - Multiplatform Resource Library / LANGUAGE OS.iso / oper_sys / mach / amiga / tools / parsrtls.lha / bison_flex / bison.Makefile < prev    next >
Encoding:
Makefile  |  1992-09-09  |  564 b   |  20 lines

  1. CC     = gcc
  2. LD     = gcc
  3. # directory for parser files
  4. PDIR   = /usr/local
  5. CFLAGS = -m68020 -O2 -fomit-frame-pointer -resident -DSTDC_HEADERS \
  6.     -DXPFILE=\\"$(PDIR)/bison.simple\\" -DXPFILE1=\\"$(PDIR)/bison.hairy\\"
  7. LFLAGS = $(CFLAGS) -s
  8. LIBS   =
  9.  
  10. .c.o:
  11.     $(CC) -c $(CFLAGS) -o $@ $*.c
  12.  
  13. OBJS = LR0.o allocate.o closure.o conflicts.o derives.o files.o getargs.o \
  14.     gram.o lalr.o lex.o main.o nullable.o output.o print.o reader.o \
  15.     reduce.o symtab.o warshall.o version.o getopt.o getopt1.o alloca.o
  16.  
  17. bison: $(OBJS)
  18.     $(LD) $(LFLAGS) -o $@ $< $(LIBS)
  19.     -protect $@ +p
  20.